<?php
require_once(dirname(__FILE__)."/../common/constants.php");
require_once(MOBILE_DIR_PATH."/http_common.php");
require_once(MOBILE_DIR_PATH."/calendar_handler.php");
require_once(MOBILE_DIR_PATH."/auth_handler.php");

$h = new HttpAuthHandler(HTTP::GET);
$d = new HttpDispatcher(HTTP::GET);
$l = new HttpPostCalendarListener();
$d->addListener($l);
$h->setHttpHandler($d);
$h->setErrHandler(new HttpAuthErrHandler());
$h->auth();
?>